package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallGoodsAttribute;
import com.ctsi.ssdc.domain.LitemallGoodsAttributeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallGoodsAttributeRepository extends BaseRepository<LitemallGoodsAttribute, Integer, LitemallGoodsAttributeExample> {
    @Override
    long countByExample(LitemallGoodsAttributeExample example);

    @Override
    int deleteByExample(LitemallGoodsAttributeExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallGoodsAttribute record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallGoodsAttribute record);

    @Override
    List<LitemallGoodsAttribute> selectByExample(LitemallGoodsAttributeExample example);

    @Override
    LitemallGoodsAttribute selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);

    @Override
    int updateByExample(@Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallGoodsAttribute record);

    @Override
    int updateByPrimaryKey(LitemallGoodsAttribute record);
}